package com.r2coding.domain.strategy.service.armory;

/**
 * 抽奖概率装配库 Service
 *
 * @author caolx
 * @date 2025/7/25 7:22
 */
public interface IStrategyDispatch {
    /**
     * 获取抽奖概率装配的随机结果
     *
     * @param strategyId 策略ID
     * @return 奖品ID
     */
    Integer getRandomAwardId(Long strategyId);

    /**
     * 获取抽奖策略权重概率 抽奖结果
     *
     * @param strategyId 策略ID
     * @param ruleWeight 用户当前权重
     * @return 奖品ID
     */
    Integer getRuleWeightRandomAwardId(Long strategyId, Integer ruleWeight);
}
